import ajax from "./axios.config";

export const reqSearchApi = (page, size, keywords) => {
  if (!keywords) return;
  return ajax({
    methods: "get",
    url: "shop/search",
    params: {
      page,
      size,
      keywords,
    },
  });
};
